package com.sczmgk.hotline.entity;


import com.sczmgk.hotline.annotation.Column;
import com.sczmgk.hotline.annotation.ID;
import com.sczmgk.hotline.annotation.TableName;
import com.sczmgk.hotline.annotation.Where;
import com.sczmgk.hotline.db.base.DBHelper;
import com.sczmgk.hotline.entity.base.BasicEntity;

/**
 * Created by Administrator on 2016/12/1 0001.
 */
@TableName(DBHelper.TABLE_USER)
public class User extends BasicEntity {

    public String password;

    @Where(isQuery = true)
    @Column(DBHelper.USERID)
    public int uid;

    @Column(DBHelper.USER_NAME)
    public String consumersname;

    @Column(DBHelper.USER_PHONE)
    public String phone;

    @Column(DBHelper.USER_HXACCOUNT)
    public String hxaccount;

    @Column(DBHelper.USER_HXPWD)
    public String hxpwd;

    public String imageLocalPath ;

    @Column(DBHelper.USER_HEADURL)
    public String headPath ;

    @ID(autoIncrement = true)
    @Column(DBHelper.TABLE_ID)
    private int id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
